package com.hnjmxy.service;

import com.hnjmxy.dao.CustomerDao;
import com.hnjmxy.pojo.Customer;

public class CustomerService {
    CustomerDao cdao ;
    public Customer checkLogin(Customer c) {
    	   cdao = new CustomerDao();
    	   Customer cu = cdao.checkLogin(c);
    	   return cu;
    	}
    public int reg(Customer c) {
    	cdao = new CustomerDao();
    	int flag = cdao.regCustomer(c);
    	return flag;
    }
    }
